package com.kvw.auth.center.controller;

import com.kt.kvw.model.request.LoginRequest;
import com.kt.kvw.model.respone.ResponseData;
import com.kt.kvw.util.ResponseDataUtils;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

/**
 * Created with IntelliJ IDEA.
 * Desc:
 *
 * @author: keen
 * Date: 2020-08-08
 * Time: 21:29
 */
@RestController
@RequestMapping("/auth")
@Validated
public class UserAuthController {

    @PostMapping("/login")
    public ResponseData<String> login(@Valid LoginRequest loginRequest) {
        return ResponseDataUtils.success("");
    }
}
